package com.parenting.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import com.parenting.entities.Report;
import com.parenting.response.PlazaInfo2ReplyVO;
import com.parenting.response.ReportPlazaResponse;
import com.parenting.response.ReportUserResponse;
import com.parenting.response.ReportVO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 投诉 Mapper 接口
 * </p>
 *
 * @author zcj
 * @since 2021-04-30
 */
public interface ReportMapper extends BaseMapper<Report> {



//    Page<ReportUserResponse> reportUserList(Page<ReportUserResponse> page);

    Page<ReportVO> reportList(Page<ReportVO> page, @Param("type") Integer type);


    Page<ReportVO> reportUserList(Page<ReportVO> page,  @Param("type") Integer type);


    PlazaInfo2ReplyVO reportInfo(Integer id);

}
